package com.lengxf.pay.starter.parent.bean;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class RefundQueryResult extends PayBaseResult {

    //本系统订单号
    private String orderNo;

    //三方系统订单号
    private String outOrderNo;

    //退款订单号
    private String refundOrderNo;

    //退款金额
    private BigDecimal refundAmount;

    //支付通道
    private String channel;


    public RefundQueryResult(String code, String msg, Boolean isSuccess) {
        super.setOutMsg(msg);
        super.setOutCode(code);
        super.setSuccess(isSuccess);
    }

}
